/*
 * File:   runtime_error.h
 * Author: ranjeet
 *
 * Created on January 1, 2009, 2:51 PM
 */

#ifndef _runtime_error_H
#define	_runtime_error_H

#include <iostream>
#include <string.h>
#include <stdexcept>
#include "Debug.h"

/**
 *\brief a simple exception class
 *
 *This class derives std::runtime_error
 *Simply used to print a simple error description
 */

class runtime_error : public std::runtime_error {
public:

    ///Constructor that calls std::runtime_error(msg)
    runtime_error(const std::string &msg) : std::runtime_error(msg)  {};

    ///Destructor
    ~runtime_error() throw() {};

};

#endif	/* _runtime_error_H */

